#{extends 'orgLead.html' /}
#{ifErrors} 
	${error} 
#{/ifErrors}

<form action='@{Application.addTopic()}' name="application"
					Method="POST">
						<br>
					<table width="492" border="0">
						<tr>
							<th scope="row">*Title:</th>
							<td><div>
									
									<input name="titel" id="titel" type="text" width="200"
										value="${topicName}" /><span style="color: #c00"
										class="error">#{error 'titel' /}</span>
								</div></td>
							
					</tr>
					
						<tr>
							<th scope="row">*Content:</th>
							<td><div>
									<textarea name="describtion" cols="20" rows="2"
									value="${flash.describtion}">
										</textarea><span style="color: #c00"
										class="error">#{error 'describtion' /}
								</div></td>
								
					
					</table>
					<input type = "hidden" name = "depId" value = ${dep.id}>

					<input type="submit" value="Create" />
					
								</form>
								<br>
								<br>
								<a href = "@{Application.viewDepartment(dep.id)}" >Back to ${dep.name}</a>
								
